package com.zeng.stpro.modules.app.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zeng.stpro.modules.app.bean.SysRolePermission;
import com.zeng.stpro.modules.app.mapper.SysRolePermissionMapper;
import com.zeng.stpro.modules.app.service.SysRolePermissionService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.io.Serializable;
import java.util.List;

/**
 * @Author ZENGZHIJUN
 * @Date 2021/2/2 18:30
 */
@Transactional
@Service("sysRolePermissionService")
public class SysRolePermissionServiceImpl extends ServiceImpl<SysRolePermissionMapper, SysRolePermission> implements SysRolePermissionService {


    @Override
    public List<Long> findPermissionIdListByRoleId(Serializable roleid) {
        return baseMapper.findPermissionIdListByRoleId(roleid);
    }
}
